package com.jsyl.lwbk.business.dto.education;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jh
 * @date 2020-11-04 09:44
 * @desc
 **/
@Data
public class SaveChildTrainingProgramDTO {

    @NotNull(message = "孩子ID为空")
    private Long childId;

    @NotNull(message = "科目为空")
    private Integer projectType;

    @NotNull(message = "时间为空")
    private String scheduleTime;

    /**
     * 项目ID为空
     */
    @NotEmpty(message = "项目ID为空")
    private List<Long> programeIds;

    /**
     * 列表序号
     */
    @NotEmpty(message = "列表序号为空")
    private List<Long> curIndexs;


    /**
     * 带巩固项目
     */
    private List<ConsolidateDTO> consolidates;

    private String selectCenterId;


}
